package com.liuhangs.learning.crowd.webui;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 11757
 * @DATE 2020/6/8
 */
@SpringBootApplication
@Controller
@RequestMapping("test")
public class StartApplication {

    public static void main(String[] args)
    {
        SpringApplication.run(StartApplication.class);
    }

    @RequestMapping("hello")
    public @ResponseBody String hello() {
        return "hello";
    }
}
